package cn.buaa.anniversary.model;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

public class Dic {

    private static ArrayList<Sentence> words = new ArrayList<>();

    public static List<Sentence> getMatches(String query){
        return words.stream().filter(s -> s.isContain(query)).collect(Collectors.toList());
    }

    static {
        words.add( new Sentence(1,"1.jpg","新主楼","春华秋实","乘风破浪"));
        words.add( new Sentence(2,"2.jpg","新主楼","春华秋实","六十五"));
        words.add( new Sentence(3,"3.jpg","新主楼","春华秋实","双一流"));
        words.add( new Sentence(4,"4.jpg","新主楼","春华秋实","大雪"));
        words.add( new Sentence(5,"5.jpg","新主楼","春华秋实","春风十里"));
        words.add( new Sentence(6,"6.jpg","新主楼","春华秋实","星空"));
        words.add( new Sentence(7,"7.jpg","新主楼","春华秋实","只若初见"));
        words.add( new Sentence(8,"8.jpg","新主楼","乘风破浪","六十五"));
        words.add( new Sentence(9,"9.jpg","新主楼","乘风破浪","双一流"));
        words.add(new Sentence(10,"10.jpg","新主楼","乘风破浪","大雪"));
        words.add(new Sentence(11,"11.jpg","新主楼","乘风破浪","春风十里"));
        words.add(new Sentence(12,"12.jpg","新主楼","乘风破浪","星空"));
        words.add(new Sentence(13,"13.jpg","新主楼","乘风破浪","只若初见"));
        words.add(new Sentence(14,"14.jpg","新主楼","六十五","双一流"));
        words.add(new Sentence(15,"15.jpg","新主楼","六十五","大雪"));
        words.add(new Sentence(16,"16.jpg","新主楼","六十五","春风十里"));
        words.add(new Sentence(17,"17.jpg","新主楼","六十五","星空"));
        words.add(new Sentence(18,"18.jpg","新主楼","六十五","只若初见"));
        words.add(new Sentence(19,"19.jpg","新主楼","双一流","大雪"));
        words.add(new Sentence(20,"20.jpg","新主楼","双一流","春风十里"));
        words.add(new Sentence(21,"21.jpg","新主楼","双一流","星空"));
        words.add(new Sentence(22,"22.jpg","新主楼","双一流","只若初见"));
        words.add(new Sentence(23,"23.jpg","新主楼","大雪 ","春风十里"));
        words.add(new Sentence(24,"24.jpg","新主楼","大雪 ","星空"));
        words.add(new Sentence(25,"25.jpg","新主楼","大雪","只若初见"));
        words.add(new Sentence(26,"26.jpg","新主楼","春风十里","星空"));
        words.add(new Sentence(27,"27.jpg","新主楼","春风十里","只若初见"));
        words.add(new Sentence(28,"28.jpg","新主楼","星空","只若初见"));
        words.add(new Sentence(29,"29.jpg","春华秋实","乘风破浪","六十五"));
        words.add(new Sentence(30,"30.jpg","春华秋实","乘风破浪","双一流"));
        words.add(new Sentence(31,"31.jpg","春华秋实","乘风破浪","大雪"));
        words.add(new Sentence(32,"32.jpg","春华秋实","乘风破浪","春风十里"));
        words.add(new Sentence(33,"33.jpg","春华秋实","乘风破浪","星空"));
        words.add(new Sentence(34,"34.jpg","春华秋实","乘风破浪","只若初见"));
        words.add(new Sentence(35,"35.jpg","春华秋实","六十五","双一流"));
        words.add(new Sentence(36,"36.jpg","春华秋实","六十五","大雪"));
        words.add(new Sentence(37,"37.jpg","春华秋实","六十五","春风十里"));
        words.add(new Sentence(38,"38.jpg","春华秋实","六十五","星空"));
        words.add(new Sentence(39,"39.jpg","春华秋实","六十五","只若初见"));
        words.add(new Sentence(40,"40.jpg","春华秋实","双一流","大雪"));
        words.add(new Sentence(41,"41.jpg","春华秋实","双一流","春风十里"));
        words.add(new Sentence(42,"42.jpg","春华秋实","双一流","星空"));
        words.add(new Sentence(43,"43.jpg","春华秋实","双一流","只若初见"));
        words.add(new Sentence(44,"44.jpg","春华秋实","大雪","春风十里"));
        words.add(new Sentence(45,"45.jpg","春华秋实","大雪","星空"));
        words.add(new Sentence(46,"46.jpg","春华秋实","大雪","只若初见"));
        words.add(new Sentence(47,"47.jpg","春华秋实","春风十里","星空"));
        words.add(new Sentence(48,"48.jpg","春华秋实","春风十里","只若初见"));
        words.add(new Sentence(49,"49.jpg","春华秋实","星空","只若初见"));
        words.add(new Sentence(50,"50.jpg","乘风破浪","六十五","双一流"));
        words.add(new Sentence(51,"51.jpg","乘风破浪","六十五","大雪"));
        words.add(new Sentence(52,"52.jpg","乘风破浪","六十五","春风十里"));
        words.add(new Sentence(53,"53.jpg","乘风破浪","六十五","星空"));
        words.add(new Sentence(54,"54.jpg","乘风破浪","六十五","只若初见"));
        words.add(new Sentence(55,"55.jpg","乘风破浪","双一流","大雪"));
        words.add(new Sentence(56,"56.jpg","乘风破浪","双一流","春风十里"));
        words.add(new Sentence(57,"57.jpg","乘风破浪","双一流","星空"));
        words.add(new Sentence(58,"58.jpg","乘风破浪","双一流","只若初见"));
        words.add(new Sentence(59,"59.jpg","乘风破浪","大雪","春风十里"));
        words.add(new Sentence(60,"60.jpg","乘风破浪","大雪","星空"));
        words.add(new Sentence(61,"61.jpg","乘风破浪","大雪","只若初见"));
        words.add(new Sentence(62,"62.jpg","乘风破浪","春风十里","星空"));
        words.add(new Sentence(63,"63.jpg","乘风破浪","春风十里","只若初见"));
        words.add(new Sentence(64,"64.jpg","乘风破浪","星空","只若初见"));
        words.add(new Sentence(65,"65.jpg","六十五","双一流","大雪"));
        words.add(new Sentence(66,"66.jpg","六十五","双一流","春风十里"));
        words.add(new Sentence(67,"67.jpg","六十五","双一流","星空"));
        words.add(new Sentence(68,"68.jpg","六十五","双一流","只若初见"));
        words.add(new Sentence(69,"69.jpg","六十五","大雪","春风十里"));
        words.add(new Sentence(70,"70.jpg","六十五","大雪","星空"));
        words.add(new Sentence(71,"71.jpg","六十五","大雪","只若初见"));
        words.add(new Sentence(72,"72.jpg","六十五","春风十里","星空"));
        words.add(new Sentence(73,"73.jpg","六十五","春风十里","只若初见"));
        words.add(new Sentence(74,"74.jpg","六十五","星空","只若初见"));
        words.add(new Sentence(75,"75.jpg","双一流","大雪","春风十里"));
        words.add(new Sentence(76,"76.jpg","双一流","大雪","星空"));
        words.add(new Sentence(77,"77.jpg","双一流","大雪","只若初见"));
        words.add(new Sentence(78,"78.jpg","双一流","春风十里","星空"));
        words.add(new Sentence(79,"79.jpg","双一流","春风十里","只若初见"));
        words.add(new Sentence(80,"80.jpg","双一流","星空","只若初见"));
        words.add(new Sentence(81,"81.jpg","大雪","春风十里","星空"));
        words.add(new Sentence(82,"82.jpg","大雪","春风十里","只若初见"));
        words.add(new Sentence(83,"83.jpg","大雪","星空","只若初见"));
        words.add(new Sentence(84,"84.jpg","春风十里","星空","只若初见"));
    }

}
